package AnnotationTest;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName:AnnotationTest.FirstAnnotation
 * Package:PACKAGE_NAME
 *
 * @date:2021/11/1 11:04 上午
 * @author: Tiangle
 */

@Target({ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.CLASS)
public @interface FirstAnnotation {

    //语法与接口差不多
    //返回类型必须为基本数据类型和String
    int[] tt() default {};

}
